<div id="${id}" fullName="${name}" class="ztree stdEle ${clazz}" <#if style!=''>style="${style}"</#if><#if positionCol != -1> positionCol=${positionCol}</#if>></div>
<script>
when('$.fn.zTree', function(){
	var setting = {
		data:{
			key: {
				children:'children',
				name:'text'
			}		
		}
		<#if onclick != ''>
		, callback: {
			onClick: ${onclick}
		}
		</#if>
		, view: {
			expandSpeed: ""
		}
	};
	var zNodes = ${value};
	$.fn.zTree.init($("#${id}"), setting, zNodes);
});
</script>